Writing better JavaScript Split modules by functionality (generic utils) or domain (specific to business rule)