Update loader.js to rename the 'window' parameter to something that doesn't create conflicts.