Add support for turbolinks

This resolves issue #13 and adds support for Turbolinks.