[1832] Don't translate the model name for `has_many` JavaScript

For #1832