Remove duplicate div assignments