database: Revert util.js to working state.