updated the image calls, added moment.js for parsing of dates