wrap script tag in the same feature flag for notifications ui

@nikolas, looks like we need to wrap the <script> tag in the same feature flag. The JS depends on the markup being there on the page, so when the feature flag is off, the markup doesn't go in, but the JS still runs. Getting some sentry errors: https://sentry.ccnmtl.columbia.edu/dmt/dmt/group/159/