Inserting whitespace into a textnode

Inserting whitespace into a textnode

I am trying to change a HTML header from this:

Reaction Tester

using jquery, my javascript file has this code:

$("h1").text("Score:     Best:     Avg:     ");

The whitespace I had in the jquery text method string is compressed of whitespace and ends up looking like this:

Score:Best:Avg:


Please advise.