rename pushError to jsError