Revert "Js decoupling"
Merge pull request #4891 from guardian/revert-4882-js-decoupling

Revert "Js decoupling"