Improving some usages of 'underscore.js'