Moved require.js script call to the correct spot