appendText() method was implemented
Small changed in the index.html