DAR-1602, remove deferred.js usage from code
DAR-1602, add TOC component JS logic