XML.js and Table of Contents for JavaScript API