Better pjax and packages support