3rd date in Trend is now optional. Modified in jqery level