Export util.js as window.util.

This should make it possible to eval the file and then have it loaded.