Cocos-JS based example and testing.