jquery reference update