Update validatePwd.js

Accept comma as a special character