Fixed syntax for index.js