fix warnings in jsfiddle