Remove stateChanged and GetXmlHttpObject methods from AJAX class in JS.