CON-1809 | Fix overlapping of anchored element

The same for HTML Ids - it's much easier to have all these variables at the top of the file rather than looking for them all around the code