Update consolidate.js