Ruby Racer JS and Ajax