convert date format using moment.js
moved select option list to the root directory so the template is reusable.