fixes to emscripten.h, draft of contact.rst