Presumably you can iterate on and manually tweak the design first, which is much quicker and less cumbersome than iterating on and tweaking the design when it's in clunky HTML/CSS/JS form and all the non-vector graphical assets are flattened/cropped etc.