Getting message from index.html