JSB: auto generates "ctor"

Needed to subclass native objects in JS without using the "cc.associateXXX" function