Added karma support
switch to using locally served js files