Simple javascript storage wrapper with expiry settings