Added "browser" and "main" fields to package.json and created index.js.