update jQuery and fix some

Operation is checked on my Mac.