Understood, but this would be the only be piece of inline JS on the site, so want to avoid it