whitespace removed
add two semicolons, linting
Merge pull request #1 from paulmars/master

Javascript passes lint.