Moved utils from index to js/app.js