Remove old events and make HTML more readable for humans