enable karma testing + move js-files to src