support for corect JScript integration when using JRuby