Cut dependence on jQuery.