inline evaluation is `sync`, make sure you do `script.remove()` here to clean up the script tag.