fix linking of jquery in modal