header__menu__click__body = function (e) {
header__menu__open(a);
}
function header__menu__open(a) {
document.body.addEventListener('click', header__menu__click__body, false);
...
} else {
document.body.removeEventListener('click', header__menu__click__body)
...