refactor applicaiton.rb
don't translate the string used for f.has_many javascript
Merge pull request #2030 from Daxter/bugfix/1832-has_many-js

[1832] Don't translate the model name for `has_many` JavaScript
Merge pull request #1882 from Daxter/refactor-application.rb

Refactor application.rb
fix potential bug

For example, /3.0/ could match Rails version 4.3.0 in the future