bugid-19518 | better js signup form validation