Add karma support for browser testing