engine for cocos2d-x using js binding