added some util stuff for putting emscripten lua interpreter consoles into webpages