Upgrade the last little bit of JS to jQuery.