Added mouse capturing. Rebuilded libs under emscripten 1.10.2