Branch does not work. Approach completely wrong?

Moved localAssistantPerformer.html inside main folder

Created a separate local directory (and repository) for the
extension files (including a clone of the "scores" directory.

This version does not work, because extensions do not
share javascript context with the main javascript scope.
So JI_localAPcontentscriptGetSVGDocument is
undefined at line 1089 of Controls.js, even though it is
defined inside the extension.