Update JsResource.cs

fixed breaking change