line 98-180 can be replaced with

```javascript
var i,key;
for (i=1; i<13; i++) {
   key = 'F' + i;
   commands.addCommand({
     name: key.toLowerCase,
     bindkey: { win: "Ctrl-SHIFT-"+key, mac: "command-"+key },
     exec: enyo.bind(this, 'do' + key) 
   });
} 
```

This (untested) code could avoid the error made in line 163