nit: I'd rather have put that out of this hidpi piece of code, before the ls():
```
if (path == 'shared/resources/languages.json')
  return addToZip(zip, '/shared/resources/languages.json', localesFile);
```