Modify extend.js to work with or without require.js