argh, we are coding in js, not C#