Fixed undefined variable error in pne_course_add_js_settings