[js jit] fix no-jit compilation