requirejs config method