localStorage via amd