make the output less quirky

generated files now pass html5 validation; also, they can be more easily skinned since they use css classes now (although you'd probably need to eject the style section)