added index.js and package.json for bower