updated to using newer versions of jquery