make your javascript handle unicode codepoints more correctly