Just restore window.JSON in the getJSON test, don't try to delete the value.