Fixed final bug in ind.js