Although the improvement in style in the JS files is good, we should still give these functions distinct names to avoid giving the impression to readers that it's ok to assign different values to the same global namespace element from different files