Communication between JS and Ruby must be in JSON