test
Refactored some jQuery specific code. Broke out some god-method-thing into less of a god-method-thing.