better unobtrusive javascript respnd for Rails and Jquery