added moment.js, revamped formatDate function, and reworked resetData()

+ added moment.js and reworked reformatDate() function
+ reworked resetData() to be more dependable.
+ added various JS to the project (timeago and moment)