Fixed syntax error and renamed image-index.js
Working on indexer