using the viewChange function as an opportunity to remove non-breaking spaces from markup and code.  these are sometimes injected when pasting XML and cause problems