fixed function signature for ajaxify.loadData
fixes #1587