check passwords match with prototypejs