Formatting
Add global variable to closure
remoteWindow -> global.remoteWindow

fixes #421
Merge pull request #2123 from jsbin/fix/421

Fix/421