Introduce karma/qunit for JS unit testing