course/exam.js to coffee