[update] _javacscript/functions.js (minor formatting/refactoring)