refactored the karma runner to work without requirejs