oyvindkinsey/easyXDM — pull request #171 by winglian (2012-03-26 03:20:57+00:00)
Title: global.location may not be valid when loaded in the scope of a different object.

Should use window.location as global/this may not always be the same as window.

P.S. Sorry about all the commits in order to get my repo in line with your master (I'm not that great with git).