Fixed undefined error messages

In Firefox on the transaction abort event, the "e.target.errorCode" is not defined but the e.target.error object contains a "message" and a "name" key. Here i used the "message" one.
Parenthesis were missing, too.