New popup_element and history options, object on-success-callbacks,
Send ajax object into xhr callback parameter,
replaces on.success data by on-success to comply with data-on-success attribute naming