remove characters after </html> tag