web.js now gets data from index.html