Add main library index.js