init hidden attribute in CSS, drop script-based init