added qunit for js unit testing