try convert an example in jsfiddle format