C&#x2F;C++ doesn&#x27;t have any sensible way to interact with the DOM and the JS GC heap directly, so that&#x27;s one reason you&#x27;ll want javascript code to stick around. Your website&#x2F;application will probably need access to some JS libraries for things like analytics, as well.