Add loadCss utility function for icons

Don't judge the PR by the branch name
I'll make a note. I'd quite like to tidy up these inline scripts too and that's on the list. Would rather do them all in one pr.