Added moment.js library and worked a bit more on popup