changed to qunit and all tests passing