<%
   var namespace = handle + '-' + Date.now();
%>

<div class="ff-rating">
    <% for (var i = 1; i <= maxValue; i++ ) { %>
        <span style="color: <%= i <= 2 ? colorSelected : colorIdle %>;"></span>
    <% } %>
</div>
