Add CORS support, and even handle Opera 12