returning true from onerror, prevents firing of default handler