Updated JSFiddle script