cleanup JsScope