adds karma-jasmine and fixes package.json scripts