JSLint cleanups for JS

Semicolons and whitespace.