Synchronous date localization

Waiting for the onload to fire to trigger dates is slow when loading images