PNaCl: communicate error message to JavaScript