Trying to factor out inline JS from github pages page.