Add pjax like functionality.