changed js behavior(needs testing), css got changed for the index.