rename global to match code, add missing semicolons
rename global to match code, add missing semicolons, closes #88
Merge branch 'jshint-test-files'