change router js to coffee