JavaScript to jQuery Conversion

First, let me say sorry for the confusion. I've been having some trouble getting used to git branches.

This pull request is the same as the last one I did, only without the extra garbage that got submitted by accident. (Thanks for the tip, Live)

Original request: https://github.com/SimpleMachines/SMF2.1/pull/248
....

Signed-off-by: Scotty Christianson <chinese.raundry@gmail.com>