removes comments from display.html page