Remove reliance on 'window' for Spaceport loadScript
Don't use 'window' in spaceport-swf plugin