Allow to change context in a `pjax:beforeReplace` handler