Using chartJs API to charts, removed gem chartkit