Possible fix for same origin error.