Fixed jQuery update of button on submit.