prototype for add to calendar
fixed compatibility issue with iphone