updated web.js
added index.html
take string to print from index.html
added fs dependancy