Updated loader.js to rename the 'window' parameter to something less dangerous.

Should fix https://github.com/angular/angular.js/issues/3449.