switch to use moment js for date parsing