Add support for requirejs