Removed unecessary lines from index.js