Update AjaxSubmitButton.php

var button can be used in success and error callback