Added a Util.js file which has a few handy functions related to Dates and more. Updated files to use Util.js instead of local functions.