Fix for IE8 parsing of doubles