Cleaning index.js