adjusted ajax response