keep prevoiusly defined document.onreadystatechange callbacks