I'm checking the source of the scale control, and i see that the innerHTML is something like: innerHTML = "Scale: " + number; I think that a better behavior is to return only the numeric value, so the user could customize the text value (as example using italian text).