upgraded gcal.js