Issue20

Journal: use cache for day offsets while scrolling
Fixes #20
Our JavaScript style is to put the braces on the same line as the keywords ("if", "while", "for", "function", ...).  Could you do that, too, for consistency?