Exploring AJAX; retrieving email address from google OAuth