fix Javascript SDK tests for .NET runtime

platform = .NET or node.js. 
It is used to run tests only for specified platform.