fix whitespace in util.js

Rewrap and removing trailing whitespace.