add cocos2d-html5 code