I did it that way because in all honesty, I don't yet know how to accomplish the alternative in NodeJS.

In JS on the web I would load a locale file before loading the script that needs it instead of loading the locale dynamically. I haven't figured this out in Node yet, but I'll work on it tonight. Sorry for the bad stuff. I'm learning Node and attempting to add some more functionality that I need for the bundle.