Fix sythax error in index.js.