re-bound JS for compatibillity with Cocos2D-X v3