Added brackets to index.js