Replaced main js with coffee