corrected utility.js mistakes