JavaScript RRULE Generator for iCal Recurring Events