Fixed bad use of jQuery.