cocos2d-x jsb compatability