add class on html label element to avoid FOUC + rename private function (naming convention)