Solved coffee script problem