speed up compilation of coffeescript
coffeescript formatting
renamed findPage to findFirstPage
removing commented code
check for non-existence of course_id