Issue #3897: Use new to create object in Cocos2d-JS