Simplifies connecting with the Google API via javascript.