Null event handlers instead of deleting

Older versions of phantomjs don't allow you to delete event handlers on XMLHttpRequest