use html() method for solution ob memory leak