any particular reason this text was added in javascript?   It seems  much easier to just add this in the view.