added index.html
input from index.html
length added to new buffer
added fs
typo removed