requireJs & localStorage