@acdha Good catch on the copypasted code, argh.  Luckily the original code sample is [in the public domain](https://developer.mozilla.org/en-US/docs/Project:MDN/About?redirectlocale=en-US&redirectslug=Project%3ACopyrights#Copyrights_and_licenses), so there are no licensing implications in this case.