Update indices.js

Fixing #90 & #76
Merge pull request #91 from phillro/rm90

Update indices.js