Giving input element an extra class as soon as label is shown