create ajax-usable-from-js system