move demo to jsfiddle