Add karma test runner for javascript tests

Set up karma config file for testing angular code.