Small javascript library to handle browser session storage