Make cleaning HTML more generic