Updated environment to use require.js