Use localStorage instead of cookies for badge
This addresses a recent issue with the snowflake-allowed cookie and Firefox strict privacy settings. Since this cookie was only used client side to store whether or not the badge should be enabled, localStorage is a better option than cookies. https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
Closes #107 (closed)