Updated revision of JSFiddle demo