user registration js validation fixed