added mocha and karma scripts