require util.js in Viewer