Update utils.js

update comment documentation to reflect code changes.