standard js to coffee