Results 2 issues of LeoMax

I'm new to vsphere. When I use `vc.getMORefsInContainerByTypePropertyArray(rootFolder, 'HostSystem', ['summary'])` API. I got error. I don't why? Can you help me?

Some methods like `setLocaleFromQuery()`, `setLocaleFromCookie()` will convert the locale to lower case. I see a lot of projects use uppercase letter in their i18n locales file name like `en-US.json`, `zh-CN.json`....