Setup karma for JS unit tests
Merge branch 'dev'