how about:

    _filenameLabel.style.opacity = (showLabelBar ? '0' : '1');