utf-8 edits and a javascript OSAdapter interface