style the source, change inlineCss to a named function