tiny cleanup in util.js