edit app.coffee(do IIDX.init only when index.html is open)