fixing jQuery CORS support for firefox