tweaks to fix pjax