update jQuery and fix setting bug. issue #16