Small javascript library to create persistent "cookie"