coffescript migration