more simplification of indxjs