add index.js as main