Add support for cross-origin Ajax