update outdated JSFiddle example