finishing javascript validation for register