Pass configuration into emscript