Organization and start of js validation of register.