Messages block added to index.html to avoid stucked messages