Before using this code on your site, you need to finish account setup to get an API key. Otherwise the code won't run in your environment.
Set up account in 2 mins at no charge
Then add an existing API key to run it
Prototype with a Google-owned key