fixed jruby_version function