Practical use of NH4X salts for difunctional oxyethylene-based intermediates