rewrote detail view as class view
added javascript for comment form