Added default/js/util.js with a bunch of utilities