updates to templates. realized I cant use jinja to format pretty dates, (sigh) statc vs. dynamic. inc a js function to handle that