Fixed dates not being calculated correctly, as it was comparing a timezoned date with one that doesn't have a timezone.
Added meta tags for the html.