added datatype to ajax