Fixes some turbolinks stuff.