updated demo with more jqueryness