Missing part of last commit
Extract fragment from template, execute dynamically loaded JavaScript using fragment