convert examples in jsfiddle format