Optimize date + timezone calculation and rendering at client side.

Also:
 * Fix bug of #timeto in #graphheader div
 * Add missing semicolons
 * Deleting trailing whitespace