Move to a purejs implementation of iconv