Client-side HTML/CSS pre-processing