JS - Resolved conflict that would occur if a user created a course with
the same name as an existing one; revised implementation enforces unique
course names.