js to coffee fail