JQuery fix for zeros in inputs