Updated xcharts to current version and the gem to work with Rails 4