changed js to coffee