Clean up html part

I've added function useful for me here, see function documentation