Make seadragon work with turbolinks. Fixes #34