compatible with coffee-script 1.7+

compatible with coffee-script 1.7 and 1.6