Update jquery stuff with code made during event.