Log to the Javascript console from ruby.