Duplicates in tags led to JS error