Ch 851

The first hunk of this looks like a much bigger change than it is due to indentation changes. This is because the change involves wrapping a bunch of the code in jQuery.each() because we're now allowing for the possibility of multiple items in the jquery object (multiple instances of the same option set in the DOM).