Instead of having a global variable on the chosen jquery object that is
relatively fragile because of external changes to the select element,
just calculate it as needed. It's not called constantly, and this is a
fairly fast lookup for jquery and prototype, so I think this is safe.