Adding an external LegendWidget javascript Widget,
Minimistically Typed for using it in external program.