[Cocos2d-JS] fixed some mistakes as Panda has proposed