Update utils.js

One more check.