Typescript version of cocos/cocos2d-html5 repository