Fix bug for AJAX requests in Safari.
Docs
JShinting