Add js docs and some housekeeping
Merge pull request #70 from lazlolazlolazlo/master

Add javascript docs and some housekeeping