Update js/gdg.js

Fixed api vs. google_api bug