converted all js to C#.  new osc elements.