working gcal JS