function simplestyle_factory(feature) {

    var sizes = {
      small: [20, 50],
      medium: [30, 70],
      large: [35, 90]
    };
    var fp = feature.properties || {};

    var size = fp['marker-size'] || 'medium';
    var symbol = (fp['marker-symbol']) ? '-' + fp['marker-symbol'] : '';
    var color = fp['marker-color'] || '7e7e7e';
    color = color.replace('#', '');

    var d = document.createElement('div');
    var ds = d.style;
    ds.width = sizes[size][0] + 'px';
    ds.height = sizes[size][1] + 'px';
    ds.marginTop = -(sizes[size][1] / 2) + 'px';
    ds.marginLeft = -(sizes[size][0] / 2) + 'px';

    ds.backgroundImage = 'url(http://a.tiles.mapbox.com/v3/marker/' +
      'pin-' + size[0] + symbol + '+' + color + '.png)';

    ds.textIndent = -1e8 + 'px';
    d.innerHTML = fp.title || '';

    return d;

}

@@ -128,16 +128,17 @@
 %0A    %7D;%0A
+%0A
     var 
@@ -416,16 +416,56 @@
 'div');%0A
+    d.className = 'simplestyle-marker';%0A
     var 
@@ -865,11 +865,10 @@
 turn d;%0A
-%0A
 %7D%0A

Add className to simplestyle markers. Fixes #10