Send onSetupError messages to javascript