Interpolate,interpolateSpan was causing problems with Firefox 33. First problem was the final test of the if/else ladder was always being run. To solve this I moved it to the first test. Also FF was not rendering span contents if only innerText was set. To solve this interpolateSpan now assigns to both innerHTML and innerText