js form validation fix