qunit tests in firefox and chrome. Maintaining code to work in node for testing only will be error-prone.