The connections endpoint may be mapped to something else, so the base
url for framework css might be smartcloud etc. Also if they didn't
define the connections url in sbt.properties it wouldn't have worked.
Remove duplicated code
Merge pull request #1220 from fmoloney/JavascriptPreviewCss

The connections endpoint may be mapped to something else