Ajax format update

Updated one of the ajax calls to the new .done / .fail  syntax since the old tried and true way was depreciated.