CON-1809 | Fix overlapping of anchored element

jQuery is used below and here vanilla JS is used instead. ``$(function() ... )`` would be much simply here.