Use global object instead of 'window'.
Reduce duplication.
Merge remote-tracking branch 'jonpurdy/master'
Update dist/unrequire.js