Bake beta JS
R4: Performance optimizations