added dataType setting for $.ajax() call