Added TOC

Added TOC widget from agsjs.
Updates