Jshint test files

Renamed globals to match code, add missing semicolons.