Add method for adding custom operator buttons

 * Update selectors to all CSS classes (for multiple instances)
 * Add better handling around DOM elements when used as library