Passing dynamic data to jqplot