Web.js reads buffer from index