set testing globals on .jshintrc, remove from files, add missing semicolons