Use localStorage instead of cookies

localStorage is widely supported:
http://caniuse.com/#feat=namevalue-storage
Merge pull request #1 from bclozel/gregturn-hide-show-guide

Use localStorage instead of cookies