Added error pages, fixed navigation display bug and added moment.js