Added facility for localStorage, also with save, get, remove methods. Uses localStorage and falls back to cookies on older browsers.