Added util.js (not finished yet).