Convert Shift-JIS codes from/to String in JavaScript