Added script ot hide subhead element when empty.