include ajax arguments in callbacks
update examples and docs