Fixes syntax error in index.js