Documented util.js

Several other fixes small fixed to docs