add index.js and commonJS requires