added serverside scripts to index.html