Improve whitespace around css and script tags

Better resulting HTML: one tag per line, no extraneous whitespace.