Change main to index.js fixes bower's install process.