add window.onerror

Signed-off-by: zensh <admin@zensh.com>