February 12, 2016 at 2:13 pm #237972
async doesn’t mix very well with
DOMContentLoaded. I think easiest would be to listen for the window load event instead. Although in this case, I don’t think there’s a speed advantage since the script is already at the bottom of the page.