JSHints test scripts and adds some missing semicolons.