Fix Karma dependencies when loading up files