Added a beta version of ajaxify with parametrizable callbacks