Add IDs for elements to be manipulated by JS code