As part of the fix for issue #4419 (smart parameter editing UI changes)
we have added Underscore.js to our assets collection.
Underscore.js includes over 100 useful functions which allow writing
cleaner and simpleer JS code, functions which should have been part of the
JS standard library if it had one. This library includes tools for
conveniently working with arrays and collections as well as other useful
utilities. For a full listing have a look at the official docs.
We can take advantage of this library to clean up existing code, for which
I have opened issue #11414 . Please use "refs #11414" in your commit
messages if you make any such refactoring.
 Refactor #11414: Take advantage of Underscore.js to clean up messy JS code - Foreman