adding in Karma for browser testing; issue #20