You could encode assets using &quot;base64&quot; and put everything in a single JS file. There may be a file size issue though, but I did that a few times (actually I did that with html files using data uris)