fixing a bug for coffee-script support
Merge pull request #365 from tstachl/master

Fixing a bug to make coffee-script work