changed to dot intentination; added moment lib to parse date stuff