Make magic/code blocks work in the browser runtime.