extracting out the google drive related code into google_drive.js