fix requires for karma