added support for Rails Turbolinks