Use Unicode escapes for the minus

\2212 is the escape sequence for CSS, \u2212 is the one for JS.

P.S. I haven't tested it. Please check it's correct.