read message from index.html