fixed karma requires js dependency