remove DOMContentLoaded condition, as the script is now deferred and will not run at all if that is here