Fixes #1 + Turbolinks support
Merge pull request #2 from glebm/patch-1

Fixes #1 + Turbolinks support