Test the javascript tokenizer, refactor the html tokenizer