`$(document).on("ready page:change", function() {` make it compatible with turbolinks