add Table of Contents to IFrame designer based on nlui's TOC widget for JavaScript API