Refactor #4240: Bind singleton objects of cocostudio in JSB

And Feature #4236: Refactor TextDefinition in JSB to fit CSS style property names