Updated Impl.
Support for JS API Generation.
Initial draft.