Fix bug on page change event with turbolinks