add cocos2d html5 support