Yes, that would solve the javascript interpreter aspect, but then you need to provide update services and updaters to customers, logic to update, an installer, support for said installer, testing for breaking changes to updates... It's more complicated than just bundling the code in a static wrapper.