update isElementVisible, TOC is now optional
build changes