Move js to coffee