added js to server index.html