Update type definition for cocos2d js 3.0