fix infinite loop caused by duck-punching coffee-script more than once