Native/polyfill TextDecoders throw differently.

Use the more descriptive message.
Fixed Jed not defined.
Added testing of non-UTF-8 encoding support.