ajaxifying routes and views