This obviously won't work for jQuery, we need to abstract this into a bridge. Try to do that, if you need some help I can help you tomorrow.