A simple jQuery plugin for toggling attributes, similar to how `toggleClass` behaves for CSS classes