added "documentNotFound" event to hook in the proxy initialization process if its failed