Lots of clean up via jslint and js-beautify
Added support for jsdoc generation
Fix up js-beautify nastiness when there is an embedded quote