If you really want to insert data directly in the non minified version of the file c2runtime.js - I would recommand write an own plugin. When exporting a project, C2 inserts 'some' sourcecode of all the in the project used plugins in this file.
Just to mention: I personally would never implement it both possibilites shown above, because
2) a plugin written only for one project isn't very useful for the next projects.
3) If I would need something like the example above I would write the scripts in an external file - eg "myScriptfile.js"