You need to include the script //google.com/jsapi on your template
Search
Loading the Database