added support for ie7, fixed performance issues, like described in
chart.js docs