Fixed 'unexpected text' error

The error could have also probably been fixed by adding { } to the if statement (line 29)

Also, I don't think JShint should be run on this, it's a jade template file.