Added webbindings to compile into javascript with emscripten