fixes karma build