the example using requirejs