Make promise & localStore stand-alones.