Repairs javascript date format for safari. Reduces size of lead image.