Fixed syntax error in index.js