update binding custom class to js for cocos2d-js 3.0 beta upgrade