updated the jsfiddle with the one of walesmd