Bug 978005 - [email] Fix usage of Bareword DOM constructors TextDecoder and TextEncoder. r=asuth