Ym4r + jQuery possible?

I have used ym4r many times in my rails application. however, i wanna
change the prototype to jquery using the jRails plugin. I found that
there are some errors after I installed jrails.

Is it possible to use ym4r and jquery together? Any pointer?