The jsfiddle was broken so I have updated it