updated query and some samples

Updated to latest version of jquery and fixed some samples