minor fixed
updated emscripten
added Polygon class