Fix jQuery create error message

After some changes which @projsaha made to generate the Error Message on the Endpoint.js instead of on the Transport.js, some unit tests were failing.

This is a fix for that.

**Tested with SbtxTestSuite**