{
Resource scriptLocation = (Resource) _externalScripts.get(i);
IAsset asset = _assetFactory.createAsset(scriptLocation, null);
String url = asset.buildURL();
// Note: important to use begin(), not beginEmpty(), because browser don't
// interpret <script .../> properly.
_builder.writeExternalScript(writer, url, cycle);