pjax: Fix a few more small issues