use momentjs for date parsing