modify indexjs