Actually the only reason this is needed at all is to do the s/+/ / so it's probably worth just tracking down and removing where that is happening in the HTML or JS