Small changes
Added auto-documentation
Ran gjslint to auto-fix js style