Menu: Fixed JS error in IE8 when clicking menu panel button a second time before the menu panel opens