Move this out of the function. `blur` and `focus` does not need to check the `type` for example. So we would need something like:
`showMaxLenghtNotice(text)` and `hideMaxLenghtNotice` (or `mxLenghtNotice.show(text)`...)