call sanitizeLinks at appropriate time to affect sub-nav as it is dynamically loaded in