Working on UI to support both emscr and pnacl