Normalize JavaScript to a consistent style
Merge pull request #10 from paulfri/fix-js

Normalize JavaScript to a consistent style