Handle cross origin nonsense