add PJAX functionality