Correction ofa bug that included vendors' scripts twice
Handle the generation of the two files demo.html and index.html with the respective js files