Rename date time format directive
Improve readability
Move flash message directive to base layout
Make momentjs version explicit
Add missing semicolons