Generate a css string with font-face declaration from JS data