added some JavaScript to query google calendar