JS plugin framework?

Mentions of leaflet and sigmajs in the map and network issues got me thinking about a way to easily interface with the huge ecosystem of JS visualization libraries for specific use cases.

R has its html widgets package: http://www.htmlwidgets.org/. This end user friendly method to bind JS libraries has yielded some pretty cool (maps, networks, 3d etc) functionality with just minimal upfront cost.

If bokeh had a similiar module that allowed easy interface with arbitrary JS, it could help boostrap development and help create a sort of resilient and innovative distributed ecosystem that r has.

Not sure if this isn’t in the scope of the project or if the tooling is already there.