Use JSDoc to compile white listed JS API documentation

This only compiles docs for notebook.js . 
We don't actually have to add major comments to mark private methods as private, do we? There has to be a better way than this.