Attempted fixing jQuery problem.

I fixed my jQuery problem, but in doing so, I gave myself more problems.
I think I can figure them out though.