fix to specify dataType text not to parse response as XML on firefox