adding scripts to index.html did not work