 $ = require 'jquery'
 d3 = require 'd3'
 _ = require 'lodash'
+numeral = require 'numeral'
+
 qs = require 'querystring'
 urlParse = require('url').parse
-
-# polyfill for safari
-if not Intl
-  Intl = require 'intl'
 
 CharacterStats = require './character_stats'
 CharacterFacts = require './character_facts'

          jrequest data.character.href, (err, data, xhr) =>
            char = @state.character
            char.name = data.name
            @setState {character: char}
          @loadStatsYear(2014)

  loadStatsYear: (year) ->

  getDefaultProps: ->
    return {
      id: null
      width: 200
    }
  render: ->
    url = "https://image.eveonline.com/Character/#{@props.id}_256.jpg"
    dom.img {
      src: url,
      width: @props.width,
      height: @props.width,
    }
)

CalloutStat = React.createClass(
