fix registration of elements in loop

Fix a silly  mistake re: loop scope:

```
 - for nodeName in [ 'div', 'section', 'header', 'footer' ]
 + for loopName in [ 'div', 'section', 'header', 'footer' ]
 +   do (nodeName = loopName) ->
```