added fallback for evaluation of date stamps for older javascript engines