JSHint and JSCS fixes for htmlparser tests.