call old onerror when it's already defined