Coding conventions
Merge pull request #2 from amire80/js-cleanup

Coding conventions