API Support extended JS error reporting