How do I use 'is_toolbar_visible'

To me, it looks like some JS required (related to Change State Viewlet - #6 by espenmn ) is missing if the toolbar is disabled.
IS that possible? (I dont have access to server before a few days due to a 'dead laptop')