add emscripten sample
cpp source for emscripten example