You're definitely right in that it is a bit of a hack but the big thing that the lib had over cookies is the storage size. I can't recall the cookie limitations off the top of my head but I remember that window.name's 2mb baseline capacity was more.