Compilation of JavaScript to WASM, Part 2: Ahead-of-Time vs. JIT