fixed the coffee script refresh issue