fixing normalizeDuration in IE8