You also might want to consider turning this code into a sort of ad-hoc markup API, like I did with [data-slide-toggle](https://github.com/toolness/weblitmapper/blob/master/static/js/slide-toggle.js). One particular thing I like about using `data-` attributes this way is that, aside from potentially making the JS more reusable, it becomes apparent just from reading the HTML that javascript is going to do something interesting with the element--thus making it less likely that it is accidentally broken later because e.g. someone didn't see the `timeTillClose` ID used anywhere in a stylesheet and figured they would clean things up. But that's just advice and I will accept the PR regardless of whether or not you change it.