This might be a good candidate for _delegated_ event handlers:

```
$('.sitemaster_core_auditor_site_page_view').on('click', 'a[href^=#]', function(e) {
    // skip what we want to ignore
    if ($(e.target).is('.call-modal') || $(e.target)[0].href === '#') { return; }
    ...
})
```