Fixing issues with returns and the xmlhttp property.