https://elanderson.net/2017/04/upgrading-a-javascript-services-application/
Upgrading a JavaScript Services Application