Basic error handling to failed ajax form submits