Extract JavaScript to Synergy engine
Update icons
Make TOC temporarily invisible