fixing the pjax action 302 redirect canceled problem