jsfiddle fixes