##The basic proposal is:
- pack the js bundle within the app itself
- Each time you app is lauched, try to check with your server if your local js bundle need to be updated. If so, download the latest js bundle from your server, and save it into the sandbox. Say the destination path is DIR_FOR_JS.
- Your code loading js files should be like this:
if(file exists in DIR_FOR_JS) load the file from DIR_FOR_JS else load the file packed in your app