the Extend for cocos2d-html5