Model and front end library for choosing and integrating social media share widgets