Not sure about this, but shouldn't we include `activate_error_messages.js` to the precompile pipeline (`config.assets.precompile`) so that the files exists in production mode?