Fixed TextDecoder not getting defined for Node.