Moved util functions to util.js. Removed script.js from index.html.