Fix typo in async command on ajax failure