Updated my script in API V3.8.  The prob. was identified to be       dojo.require("agsjs.dijit.TOC");In V3.8, it needs defining the 'agsjs'       var djConfig = {          parseOnLoad: true,          baseUrl: './',          modulePaths: {                            'agsjs': 'http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/latest/build/agsjs'              //'agsjs': 'http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/1.04/build/agsjs'  // in V2.x          }      };