Fix Date.now() issue with older IE versions (under IE9)