Added karma npm packages.

Karma and Jasmine for JS unit testing.