added JsConfigScope around all methods