I just wanted to add that in order to use the plugin, you must on your site include a <div> or <span> with component="category/controls" (it may be empty). As you can see in the public/scrips/client.js, it's looking for that element and adding the button into it, along with its functionality.
Hope that helps and saves people some time!