Included code from JsClass