Using new JSB.

Improved enums