Revert "Update utils.js"

This reverts commit 0708f83d0c7220bb615f11921dc7e2064417df4e.