Unicode utilities (UTF-8 converter) using JavaScript