Small function to allow Javascript to use String.Format method