small update to utility.js