fix dependencies
exclude index.js in the browser build