Running javascript macro by the c#, demo with code