ajaxForm publishes events when possible