Easy stateful HTML components