changes for karma integration

files and config for integration with karma for in-browser testing