An AMD compliant loader that loads modules from localStorage