changes for jruby compatibility, small readme changes