add karma and jshint