Fix tedit validation errors (bug 1019729)

https://bugzilla.mozilla.org/show_bug.cgi?id=1019729
Use something other than `?` since that's not a valid character for identifiers. `$` or `_` would work.