Fix semicolons, breaking, whitespace, duplicate var statements.
Merge pull request #1419 from tmcw/test-jshint

Fix semicolons, breaking, whitespace, duplicate var statements.