From JS to jQuery.