Switched from cookies to web storage