updated jsfiddle