polish HTML templates reusing etc