Update utils.js

weird thing with a line, so replaced the line with identical code.