>>4
Which brings us to our next question:
Why the fuck are you write in Forth of all languages?
NO BODY uses Forth anymore. This is at least 60% of the reason no one wants to use it. Also, don't maintain versions written in several different languages.
I'll give you a pretty straightforward hint right now: rewrite it in C (Clang\LLVM) for your main program, then just compile the LLVM bytecode to Javascript (emscripten) for you Javascript version.