Javascript inheritance library with support of nested private scopes