test: Set up JSHint and pass it

* Fix style violations.
* Made Tokenizer not a global variable but a local function, like CSSJanus.
* Swapped Tokenizer and CSSJanus to make it clearly defined
   before the first reference to it appears.