clang ported to js