updating index.js, package.json, and component.json