rewrite demo using webpack
update jquery for tests