@polesye You should just use

    templateText = $('#' + name).text();

the `templateSelector` value is used only once, so I think it doesn't have to be hashed.