#28 introducing setup for routers with ajaxPrefilter as its first concern