Fix window.require/define usage in IE < 9

 - Adding test for require and define in the global context.
 - Commenting out console.log
Merge pull request #1 from Billiam/fixes/ie

IE <= 8: Window will have no hasOwnProperty method, errors out.