Decorate a JavaScript object by giving read-only access to a Delegate.