Add suport for consolidate.js