adding prime demo using emscripten