use pjax:success to prevent back and forth bug