added compat for IE9 to work with d3