only works with javascript on
undoes
hextype
as well as it can, but it's a lossy process.