Reference JS string to C#

I’m trying to reference a string from a JS script and reference the value in a C# script.
I know that I have to place the JS script in a special folder, but I don’t know the line of code to reference a JS script, I know to reference a C# is : string myusername = ScriptName.myusername . However I can’t seem to do the same for JS. Does it have to do with something I have to adjust in Mono Develop? Please help.

Nope, as long as your Js script is in Standard Asset folder, you reach it the same way:

JSScriptName script = GetComponent<JSScriptName>();
string str = script.member;