Another way could be... changing this:
```
<span class="progress" data-completed="{{ self.completed }}">
```
to something like ...
```
 <span class="progress" data-completed="{% if self.completed %} True {% else %} None {% endif %}">
```