Making use of the asset pipeline for the localstorage JS, much cleaner this way.  Since we're using document.ready, everything will work the same.
Using dot notation for localstorage key access, because it's cleaner looking.