Use getAttribute in place of dataset.* within notifications

The first potential notification happens if the browser is too old.
But the same old browser might have patchy support for dataset.*

Hence, the only way for the JS to work fine would be to use getAttribute
in place of dataset.*