Rewrote clock_imperial.js in the new format