Moved years and metrics selectors to JS code.