Functional emscripten shell template

Functional emscripten shell template