Javascript port of spine-cocos2dx runtime