ajax.js: add ajax_after_post event