using requirejs to load modules