use jquery get function to get the chart div

Change-Id: I172e745cbd0f7369cd29174d5a48faf25ff57d07