New Safari version
Updated code to fully generate iCalendar text (with fixed repeat from today of 10 times)
Removed useless for loop that was commented