Update web.js, Set the size of the buffer by the string length of the index.html