Changes made according to require.js