Added dates trandformation to be accepted by the server
Added MomentJS to deal with dates