Issue: 19131: Changed error.js to stringfy objects for error message

This change was to fix an error with the extra parameter when the duplicate message box text is generated.