Javascript Horology