refactored some of the javascript
Merge branch 'master' of https://github.com/quicklog/server