make gettext_i18n_rails_js works under jruby

make gettext_i18n_rails_js works under jruby

fix #13