Switched to sessionStorage instead of localStorage, and neutralized conflict with library code