Add chart to div instead of body