added karma js for running tests