Remove last remaining dependency on jQuery