Code used to in a RequireJS demo