get attributes from CourseProfessor when it exist
initial data generator
jslint fix