convert html non breaking spaces to real non breaking spaces usable in js context