Updated util.js to make everything look nicer