Added "dataType" parameter to ajax call