updated out of date jquery api reference