fixing logic on plot command to deal with NA's for missing times
updating jquery