HTML-only definition of gauge implemented