convert js to coffee