How to have a amicable breakup with a Javascript library