Added datatype to ajax