Get a Google access token using Google's Android Java API and send it to your Javascript program.