Fixes #65: String.replace polyfill throws SyntaxError for valid replacement values