JavaScript XMLHttpRequest.onreadystatechange
Change:
XMLHTTP.onreadystatechange = handleStateChange(me);
to:
XMLHTTP.onreadystatechange = function() {handleStateChange(me);};
You're setting onreadystatechange
to the result of calling the function, not to the function.