fix cocos2d.js