TypeScript definition for cocos2d-html