Fixed index.js
Proceeding with todo tutorial