It's not fully FLOSS but double licencing your library GPL and commercial license is another business model, and it seems to be working fine for companies doing this.
I am a “technical user” and its bc. of projects like Plotly I try to avoid js (pole or not).