Added js compile that uses emscripten. Started creating a wrapper for the emscriptenized code