add .fail and message in jquery for ajax request