Declare variables locally - The `allSections` variable was leaking into the global scope, due to a typo in the declaration. - `dataProcessed` can be declared more narrowly within the callback.
These files really should be in the capa module, but we don't have a way to load js from there at the moment. (TODO)