Normally my endpoints have an android/iOS client. I am now trying to work with a javascript client. Looking at the provided [git example](https://github.com/GoogleCloudPlatform/appengine-endpoints-helloendpoints-java-maven/blob/master/src/main/webapp/js/base.js), I see a number of namespace stuff (lines 9-19). Why are those important? Say my api exists at `my-endpoints.appspot.com`, do I have to do the namespace thing? How?

Also does anyone have a more comprehensive example they don't mind sharing? Something that more fully exercises the full client api <https://developers.google.com/api-client-library/javascript/reference/referencedocs>