IAIndex.js - remove useless code