One way to get string.Format support in JavaScript