Adding support for requirejs