How do I change the text in the Submit to Class / Submit to Teacher button?

I think I solved the autocomplete for math inputs in this thread. Basically, a math input is considered not submitted when it has focus, so adding an initial when not(this.submitted) solves that problem.