﻿(function () {
    dust.helpers.iterate = function (chunk, context, bodies, params) {
        params = params || {};
        var obj = params['on'] || context.current();
        var excludedKeys = params.excludedKeys != null ? params.excludedKeys.split(',') : null;

        for (var k in obj) {
            if (excludedKeys == null || excludedKeys.indexOf(k) < 0) {
                chunk = chunk.render(bodies.block, context.push({ key: k, value: obj[k] }));
            }
        }
        return chunk;
    }
    dust.helpers.startsWith = function (chunk, context, bodies, params) {
        var body = bodies.block, skip = bodies['else'], key = params["key"], value = params["value"];
        if (typeof (key) === "string" && key.toLowerCase().indexOf(value.toLowerCase())===0) {
            chunk = chunk.render(body, context);
        }
        else if (skip) {
            chunk = chunk.render(skip, context);
        }
        return chunk;
    };
})();

@@ -6,24 +6,275 @@
 ction () %7B%0D%0A
+%0D%0A    if (!String.prototype.startsWith) %7B%0D%0A        String.prototype.startsWith = function (stringBuscada, posicion) %7B%0D%0A            posicion = posicion %7C%7C 0;%0D%0A            return this.indexOf(stringBuscada, posicion) === posicion;%0D%0A        %7D;%0D%0A    %7D%0D%0A%0D%0A
     dust.hel
@@ -1035,19 +1035,21 @@
 rCase())
+ 
 ===
+ 
 0) %7B%0D%0A  

Remove polyfill