Register

Javascript code to verify whether the passwords match each other or not
and to check whether all fields in the form have been entered.