dependency - fix bug where there's a hidden CSS dependency

Previously the code depended on a ".hidden" CSS class being available.
It's also available in the Twitter Bootstrap CSS import.

This commit directly sets and clears "display: none" on elements.