added a formatDate helper + moment.js library
compil