updated ajax return type to text/xml