implements collect read_frame
add jruby to travis.