Remove errors.js; Move util out