Fix error due to Mustache attribute parsing

* CanJS seems sensitive to a leading space character in front of
  attribute names
Merge pull request #1025 from reciprocity/feature/fix-selected-attribute

Fix error due to Mustache attribute parsing