Fixed index.js