trying this js fiddle example

commits, + js fiddle example