Pass location-object to fix XHR in sandbox
Merge pull request #3 from jannehietamaki/master

Pass location-object to fix XHR in sandbox