v1.6.2. Improvement.
fix coffescript compatibility