alert(data); //even if I see that the data is "hello" here,
if ( data == "hello")
{ alert("yup, the data is hello"); //this doesn't occur.};