GCal integration using JavaScript