Fixed a bug where DELETE ajax requests were failing on Safari