Fix karma build