more robustly find jQuery, do not call click twice