Update ind.js

misc fixes