changing js to coffee