make requirejs work with karma