Fix dataType in ajax