validate confirmed password using javascript