Bug fix with soft refresh
Removed setIndex fn, since softRefresh is setting an index. That computation refactored out callee (in index.html