Missed one of those pesky semicolons ;)
Added coffeescript support and better parsing of defines, fixes #2