Code used to make Chess Clock, the HTML5/PhoneGap app available (at some point soon I hope) for Android and iOS.