add_js_settings now only occurs for nodes in a course