JSCBC-142: Fixed issue where error objects lacked a message property.

Change-Id: I64785d09476fbb7a694960de6dac04f6492a4266