better use of momentjs for messages and extracts