I'm sure this could be cleaned up.

What's the purpose of the element created with jquery?