More cleanup

* Global QUnit for JSHint.
* Whitespace.