fix for turbolinks
Merge pull request #13 from yoyos/master

compatibility with flash messages passed through turbolinks