IE8 and below doesn't do split() properly, so implement it by hand for those browsers.  Fixes a problem with localization substitution in IE8 and below.