transition from js to coffee