JQuery fix
Validation of input.