Manual fixes to make it jshint compliant
Automatic fixes to make jshint compliant
Merge pull request #18 from sqren/master

Cleanup of javascript file to make it jshint-compliant