I got the same error for some reason and it worked well with the previous installments. I tried installing java again, but the JS-call still remainsHow are you trying to run the game? With the exe in the main folder?
Looks like there's something missing in the code which is breaking that part of the game. I haven't looked that far myself.
Have to download the whole thing, file locations have changed, some aren't even there anymore like gifs. It's only 7GB this time at least since he did shrink it down.