The HTC will get 4.2 eventually, but I'd still go with the Samsung. Better camera, replaceable battery, you can add more memory, and super amoled looks better than s-lcd 3 imo. (nicer screen )
Just switched to at&t and was stuck between the htc one and s4. Those are what sealed the deal, though the rounded back of the htc had me concerned for some reason.