adding ctor function for every class exposed to js.
Merge pull request #34 from dumganhar/add-ctor

Adding ctor function for every class exposed to js.