Add first JavaScript tests using QUnit.