Small improvement to error messages in browser