Requesting just the neccessary user info. Don't need the Google+ profile info.
I was using a function that was undefined at the time it is called: the correspondent JavaScript file is loaded after this call. Fixes #9.
Few improvements. Removing unnecessary comments.