Fix JS documentation of generateWithRelativeTime