fixed #2806: Corrected the errors of MenuTest for Cocos2d-Html5 releasing