update to jQuery 2 and fix a failure by jQ1.7 used by storyjs