defaults.js renamed to common.js
exports re-introduced