Minor change for local build configuration
Document intended javascript api
Improvements to api