Or perhaps:

```python
files = [staticfiles_storage.url(path) for path in FORM_JAVASCRIPT]
if include_shim:
    files.append((BROWSERID_SHIM,))
```