Update index.js

removed console logs