Use localStorage to handle preferences in javascript
Merge pull request #14 from snaggen/js_store_prefs

Use `localStorage` to handle preferences in JS app