Included the moment.js library and wrapped within a helper function.