fix DOMContentLoaded in async script
Merge branch 'master' into gh-pages