fixing some ugly code and bad comments in index
fixing some ugly code and bad comments in index

lguillain/teamform-seed,alicehzheng/teamform-seed,qinm7/teamform-seed,qinm7/teamform-seed,alicehzheng/teamform-seed,lguillain/teamform-seed