Javascript horizontal highlight updated