check with js if passwords are match