I can't test this but try to remove
else curvyCorners.alert('Scanstyles does nothing in Webkit/Firefox');
in that file