Append link elements to head instead of writing to document
Merge pull request #331 from jpbackman/fix-index-html-css-appending

Append link elements to head instead of writing to document